downloadArtifact

suspend fun downloadArtifact(name: String, path: String? = null, createArtifactFolder: Boolean = false): DownloadResponse

Downloads a single artifact associated with a run. Will error if it fails.

Parameters

name

the name of the artifact being downloaded

path

optional path that denotes where the artifact will be downloaded to

createArtifactFolder

whether to create a folder for the artifact in path. Otherwise downloads the contents into path.

suspend fun downloadArtifact(name: String, path: Path? = null, createArtifactFolder: Boolean = false): DownloadResponse

Downloads a single artifact associated with a run

Parameters

name

the name of the artifact being downloaded

path

optional path that denotes where the artifact will be downloaded to

createArtifactFolder

whether to create a folder for the artifact in path. Otherwise downloads the contents into path.